<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>search</title>
    </head>
    <body>
        <div class="body">
            <h1>前往桃園高鐵站途中</h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            
            <table>
            <tr>
            	<td>認證號碼</td>
            	<td>姓名</td>
            	<td>國別</td>
            	<td>性別</td>
            	<td>運動項目</td>
            	<td>實際抵達桃園機場時間</td>
            	<td>預計抵達桃園高鐵站時間</td>
            	<td></td>
            </tr>
			<g:each var="person" in="${people}">
				<tr class="mouseOver">
					<td>${person.uid}</td>
					<td>${person.name}</td>
					<td>${person.nation?.name}</td>
					<td>${person.sex}</td>
					<td>${person.sport?.name}</td>
					<td><g:formatDate format="MM-dd HH:mm" date="${person.nAirportComeAt}" /></td>
					<td><g:formatDate format="MM-dd HH:mm" date="${person.predictNTrainComeAt}" /> </td>
					<td><g:link action="nAirport2nTrain" params="[personId:person.id]">移除紀錄</g:link></td>
				</tr>
			</g:each>
			</table>

        </div>
    </body>
</html>
